package com.gg.user.gguser.service;

import com.gg.user.gguser.dataobject.GgInformationDataobject;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface GgInformationService {
    /**
     * 查询列表
     */
    Object  getInformationSelectList(HttpServletResponse response, HttpServletRequest request,Integer page, Integer pageNumber, String name, Integer type, Integer state, String remarks);

    /**
     * 获取单个
     */
    Object getInformationSelectItems(String itemsId);

    // 增加信息
    Object addInformationAll(HttpServletResponse response, HttpServletRequest request,String name, String sex, String position, String phone, String mailbox,String qq, String weChat,String provid, String cityid,String areaid,String address,Integer level,Integer state,String remarks,String username,String fax,String contact,String zipcode,String website,String source) throws Exception;

    /**
     * 修改商机
     */
    Object updateInformation(HttpServletResponse response, HttpServletRequest request, String ggItemsToken, String ggIName, String ggIProvince, String ggICity, String ggIAreaid, String ggIDetailed, String ggIHandle, String ggIContact, Integer ggIState, Integer ggILevel, String ggIGender, String ggIPosition, String ggITelephone, String ggIFax, String ggIMailbox, String ggIQq, String ggIWechat,String ggIZipcode,String ggIWebsite,String ggISource) throws Exception;

    /**
     * 删除信息
     */
    Object delectInformation(HttpServletResponse response, HttpServletRequest request,Integer id) throws Exception;

    /**
     * 批量删除
     */
    Object delectInformationAll(HttpServletResponse response, HttpServletRequest request,String listid) throws Exception;

    /**
     * 批量加入商机
     */
    Object removebusinessAll(HttpServletResponse response, HttpServletRequest request,String listid) throws Exception;
}
